package com.powernode.money.service;

import com.powernode.money.model.BidInfo;
import com.powernode.money.vo.TopLoanInfo;
import com.powernode.money.vo.TopRank;

import java.util.List;

public interface BidInfoService {
    double queryAllBidMoney();

    int executeInsertSelective(BidInfo record);

    List<TopRank> queryTopRank(int num);

    List<TopLoanInfo> queryByLoanId(String loanId);

    List<TopLoanInfo> queryByUid(String uid);

    List<TopRank> queryTopRankFromRedis(int num);

    void updateInvestTop(String phone, double money);
}
